package day13.homework;

import java.io.Serializable;

public class User implements Serializable {
    private String telephoneNumber;
    private String name;
    private String password;
    private AbstractMessage am;
    private double outMoney;
    private double balance;
    private int realTelTime;
    private int realNoteNum;
    private int realUseFlow;
    public User(){}
    public User(String telephoneNumber, String name, String password,
                AbstractMessage am, double outMoney, double balance,
                int realTelTime, int realNoteNum, int realUseFlow) {
        this.telephoneNumber = telephoneNumber;
        this.name = name;
        this.password = password;
        this.am = am;
        this.outMoney = outMoney;
        this.balance = balance;
        this.realTelTime = realTelTime;
        this.realNoteNum = realNoteNum;
        this.realUseFlow = realUseFlow;
    }

    public String getTelephoneNumber() {
        return telephoneNumber;
    }

    public void setTelephoneNumber(String telephoneNumber) {
        this.telephoneNumber = telephoneNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public AbstractMessage getAm() {
        return am;
    }

    public void setAm(AbstractMessage am) {
        this.am = am;
    }

    public double getOutMoney() {
        return outMoney;
    }

    public void setOutMoney(double outMoney) {
        this.outMoney = outMoney;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getRealTelTime() {
        return realTelTime;
    }

    public void setRealTelTime(int realTelTime) {
        this.realTelTime = realTelTime;
    }

    public int getRealNoteNum() {
        return realNoteNum;
    }

    public void setRealNoteNum(int realNoteNum) {
        this.realNoteNum = realNoteNum;
    }

    public int getRealUseFlow() {
        return realUseFlow;
    }

    public void setRealUseFlow(int realUseFlow) {
        this.realUseFlow = realUseFlow;
    }
}
